package com.hyz.approval.pojo.myEnum;

/**
 * @author HGD
 * @date 2022/9/29 15:59
 */
public enum AssetInboundEnum implements KeyValueEnum {
    /**
     * unchecked代表未检查，normal代表状态正常，abnormal代表状态不正常
     */
    CREATE(0, "创建"),
    NORMAL(1, "状态正常"),
    ABNORMAL(2, "状态不正常");

    private final Integer key;
    private final String value;

    AssetInboundEnum(Integer key, String value) {
        this.key = key;
        this.value = value;
    }


    @Override
    public int getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }
}
